package com.zhangliuliu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhangliuliu.bean.ConsultBean;
import com.zhangliuliu.dao.ConsultDao;
import com.zhangliuliu.service.ConsultService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ConsultServiceImpl extends ServiceImpl<ConsultDao, ConsultBean>implements ConsultService {

    @Override
    public void addInfo(ConsultBean consultBean) {
        save(consultBean);
    }
}
